package com.cqhgcloud.hgdp.organ.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@TableName("student")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "学生表", description = "学生表")
public class Student extends Model<Student> {
	private static final long serialVersionUID = 1L;
	/**
	 * id
	 */
	@ApiModelProperty(value = "id")
	private String id;
	/**
	 * 名字
	 */
	@ApiModelProperty(value = "名字")
	private String name;
	/**
	 * 年龄
	 */
	@ApiModelProperty(value = "年龄")
	private String age;
	
	@Override
	protected Serializable pkVal() {
		 return this.id;
	}
}
